This page last changed on Dec 13, 2005 by vidya.

The RSS Feed Macro is used to subscribe to RSS feeds from sites outside Confluence.

Please note that updates are only retrieved after at least an hour has elapsed since the last update.

Simply replace the url in the code with the url of the website's RSS feed.

RSS Feed Macro

What you need to type What you will get
{rss:url=http://www.abc.net.au/news/syndicate/breakingrss.xml}

ABC News: Breaking Stories (rss_2.0)
(Latest ABC News)
Campbell talks down whaling vote prospects
Federal Environment Minister Ian Campbell says he is not confident moves to stop Japan continuing its whaling program will be successful.
Porn bans to apply to phones
Federal Communications Minister Helen Coonan says she is preparing to extend bans on Internet pornography to mobile phones and other portable electronic devices.
Court refuses to drop Ryan charges
A magistrate in the Queensland city of Rockhampton has rejected an application to dismiss charges against former teenage runaway Natasha Ryan and her boyfriend Scott Black.
Indonesia urged to keep tabs on Bashir
Federal Opposition Leader Kim Beazley has called on Indonesia to monitor the movements of Indonesian cleric Abu Bakar Bashir, who has been released from jail.
Gusmao vows to guard Constitution
East Timor's President Xanana Gusmao has vowed to uphold the constitution amid speculation he may dissolve Parliament in a bid to end weeks of crisis in the tiny nation.
Migration bill changes possible: Costello
Federal Treasurer Peter Costello says the Government is willing to alter its proposed migration bill, but the principle of processing asylum seekers offshore will remain.
Fossil places crocodile's ancestors in Qld
A new fossil from the age of the dinosaurs suggests modern crocodiles originated in Queensland, not Europe or North America as previously thought.
Asbestos compensation cap lifted
Asbestos victims have welcomed changes to a Victorian law that limited the amount of compensation they could receive.
Terrorism case delays cause concern
A Melbourne magistrate has expressed concerned for 13 terrorism suspects, whose trial is being delayed by a wrangle over Legal Aid funding.
Queenslander wins NFF top job
Queenslander David Crombie is the new president of the National Farmers Federation (NFF).
Singaporean PM stands firm on death penalty
The prime ministers of Singapore and Australia have again discussed their differences over Singapore's use of the death penalty.
Firefighter killed in emergency call crash
A firefighter has been killed and four others injured after their truck hit a tree at Glenfield in Sydney's south-west.
High Court rejects 40yo compo case
The High Court has refused a Newcastle man's attempts to sue over an accident which left him a quadriplegic more than 40 years ago.
Ruddock, ACT trade blows over civil unions law
The Federal Government has dismissed claims it has been deliberately vague about setting parameters for the ACT Government to adhere to in the Territory's Civil Unions Act.
High Court dismisses child detainees' citizenship appeal
The High Court has confirmed the Federal Parliament's power to decide that children born in Australia to foreign nationals are not automatically entitled to citizenship.

Optional Parameters


Optional Parameters

No  parameter Default Description
 1 max 15 Limit the number of entries displayed
 2 showTitlesOnly false Show only the RSS feed titles
 3 titlebar true Hide the feeds titlebar

1. Limit the number of entries displayed

This parameter defaults to '15'.


2. Show only the RSS feed titles.

This parameter defaults to 'False'.


3. Hide the feeds titlebar

This parameter defaults to 'True'.

RELATED TOPICS

Subscribing to RSS Feeds within Confluence
Tracking Updates Overview
Working with Macros

Take me back to Confluence 2.0 Home

I'm not sure, but it looks like that "Optional Parameters" table is not quite right.

I think the values going down the second column ("parameter") should be:

max
showTitlesOnly
titleBar

instead of:

no
showTitlesOnly
Hide the feeds titlebar

...since those are the parameters as they are used in code.

Posted by amitchell at Dec 13, 2005 17:58

Mitchell,

Thanks for pointing that out. That was an error on my part. I have updated the page.

Cheers,
Vidya

Posted by vidya at Dec 13, 2005 18:25

One more minor change to the "Optional Parameters" table.

It seems that the parameter titlebar must have the B capitalized (e.g. titleBar) to function correctly. With it in all lower case, it seems to just be ignored.

craig

Posted by cmartin2 at Jan 20, 2006 14:05

When I'm using this macro I get the following message:

 

Can anybody help me with this? Maybe I'm doing something wrong. Confluence is installed on a Network PC of the organisation so that other people can connect to it.

Posted by godschalkj at Feb 13, 2006 10:23

The message in the previous comment didn't show because of the copy/paste action. This is the messahe that I get: 

rss: The RSS macro is retrieving an HTML page with the title 'Login - Confluence'

Posted by godschalkj at Feb 13, 2006 10:26

We have Confluence 2.2 installed on our server and tried using some external RSS feeds. But we get the following error:

Internal RSS and Confluence RSS works just fine.

Any ideas?

Posted by eirik.sand@telenor.com at May 11, 2006 01:54

Sounds like either the BBC feed you were using is broken or there is a firewall (or some other thing) stopping you getting to it.

Try displaying one of the feeds from www.theregister.co.uk to see if that works.

Posted by gfraser at May 11, 2006 06:29

I don't think the feed is causing problems. The feeds works fine in other RSS readers. I tried downloading a feed and stored it locally on the server, and wrote the URL like this:

It worked like a charm. So I think our server is blocking outgoing requests on port 80 or something.

Posted by eirik.sand@telenor.com at May 11, 2006 08:26

Did anyone find a resolution to this? I have the same problem. When I test the RSS feed on the online test server it works fine. The same code on a local copy gives an error. The same RSS feed can be read in IE and FireFox - would these not be accessing the RSS through the same port as Confluenence?

Posted by swjmurphy at Jun 01, 2006 09:43

1) Is there a way to disable caching of RSS reponses (I like to include feeds provided localy)?
2) How can I specify Basic Authentication for a feed?

Posted by ruediger.jungbeck@rsj.de at Jun 03, 2006 10:47

1) I haven't used it myself, but maybe the Cache-macro can help you with that.

Posted by eirik.sand@telenor.com at Jun 06, 2006 01:22

I Want to DISABLE caching (because I want to use it to show frequently changing information (like build status), not enable it.

Posted by ruediger.jungbeck@rsj.de at Jun 08, 2006 07:19
Document generated by Confluence on Jun 14, 2006 00:28